Portfolio: Finding Relevant Functions and Their Usages

نویسندگان

  • Collin McMillan
  • Mark Grechanik
  • Denys Poshyvanyk
  • Qing Xie
  • Chen Fu
چکیده

Different studies show that programmers are more interested in finding definitions of functions and their uses than variables, statements, or arbitrary code fragments [30, 29, 31]. Therefore, programmers require support in finding relevant functions and determining how those functions are used. Unfortunately, existing code search engines do not provide enough of this support to developers, thus reducing the effectiveness of code reuse. We provide this support to programmers in a code search system called Portfolio that retrieves and visualizes relevant functions and their usages. We have built Portfolio using a combination of models that address surfing behavior of programmer and sharing related concepts among functions. We conducted an experiment with 49 professional programmers to compare Portfolio to Google Code Search and Koders using a standard methodology. The results show with strong statistical significance that users find more relevant functions with higher precision with Portfolio than with Google Code Search and Koders.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Search in Source Code Based on Identifying Popular Fragments

When programmers write new code, they are often interested in finding definitions of functions, existing, working fragments with the same or similar functionality, and reusing as much of that code as possible. Short fragments that are often returned by search engines as results to user queries do not give enough information to help programmers determine how to reuse them. Understanding code and...

متن کامل

The Optimum Portfolio Based on Konno Linear Programming Model (A Case Study on the Iran Insurance Company)

I ran Insurance Company intends to raise its financial credit and render enhanced services to the insured and the public. The need to meet financial obligations arising from the claims requires determination of the optimum deposited claims reserve with banks. Therefore, the present research study aimed at finding the loss ratio (incurred losses to premiu...

متن کامل

A Regret Minimization Approach in Product Portfolio Management with respect to Customers’ Price-sensitivity

In an uncertain and competitive environment, product portfolio management (PPM) becomes more challenging for manufacturers to decide what to make and establish the most beneficial product portfolio. In this paper, a novel approach in PPM is proposed in which the environment uncertainty, competitors’ behavior and customer’s satisfaction are simultaneously considered as the most important criteri...

متن کامل

Multiobjective Imperialist Competitive Evolutionary Algorithm for Solving Nonlinear Constrained Programming Problems

Nonlinear constrained programing problem (NCPP) has been arisen in diverse range of sciences such as portfolio, economic management etc.. In this paper, a multiobjective imperialist competitive evolutionary algorithm for solving NCPP is proposed. Firstly, we transform the NCPP into a biobjective optimization problem. Secondly, in order to improve the diversity of evolution country swarm, and he...

متن کامل

GJR-Copula-CVaR Model for Portfolio Optimization: Evidence for Emerging Stock Markets

Abstract T his paper empirically examines the impact of dependence structure between the assets on the portfolio optimization, composed of Tehran Stock Exchange Price Index and Borsa Istanbul 100 Index. In this regard, the method of the Copula family functions is proposed as powerful and flexible tool to determine the structure of dependence. Finally, the impact of the dep...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011